//
//  ViewController.m
//  图片圆角(贝塞尔曲线)
//
//  Created by 李松 on 2017/11/23.
//  Copyright © 2017年 李松. All rights reserved.
//

#import "ViewController.h"
#import "UIImage+image.h"

@interface ViewController ()

@property (weak, nonatomic) IBOutlet UIImageView *imageV;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    //0.加载图片
    UIImage *image = [UIImage imageNamed:@"touxiang"];
    self.imageV.image = [UIImage imageWithBorderW:5 color:[UIColor orangeColor] image:image];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
